package cn.t.constants;

/**
 * @author l
 */
public interface ParamConstants {
   int INT_2000 = 2000,INT_0=0,INT_1=1,EXPORTPAGEMAXSIZE=50000,PAGE_MAX_SIZE=5000,ORDER_PAGE_MAX_SIZE=30000;
   int REDISORDERKEYTIMEOUT=5;
        long   CABINET_OPEN_CLOSE_TIMEOUT=1800*1000,CABINET_OPEN_CLOSE_TIMEOUT_180=180;
    String STRBD="BD",Y="Y",N="N",FIELD="gmt_close",DESC="desc",GMT_CREATE="gmt_created";
    /**
     * Excel 后缀
     */
    String XLS = ".xls", XLSX = ".xlsx";
    /**
     * 导出文件相关
     */
    String DOWNLOAD_CONTENT_TYPE_1 = "application/force-download", DOWNLOAD_CONTENT_TYPE_2 = "application/vnd.ms-excel",
            HEADER_DISPOSITION = "Content-Disposition", HEADER_CONTENT_DISPOSITION = "attachment;fileName=", CUSTOMIZE_HEADER = "mycustomize",
            ACCESS_CONTROL_EXPOSE_HEADERS = "Access-Control-Expose-Headers";
    String YYYYMMDD = "yyyy-MM-dd",  CABINET_TYPE = "Cabinet_",WORKORDERTYPESTR = "system";
}
